\section{whos --- list of variables}
\label{fn:whos}
\index{whos()}
\index{list of variables}
\begin{rail}
Whos : 'whos' '(' List ? ')' ;
\end{rail}

\verb+whos+ is a function that displays the variables in a list, and
the total space those variables take up.  If no argument is specified, or
the argument is not a list, then the entire global symbol table is
displayed. If a list argument is supplied, then only the variables in
that list are displayed.

$\Longrightarrow$ This is not an \RLaB\ built-in function.  This function
is normally loaded on start-up from the \verb+whos.r+ file in the
standard \verb+rlib+ directory. Use of the \verb+-r+ option, incorrectly 
setting the \verb+RLAB_LIB_DIR+ environmental variable, or modifying
\verb+whos.r+ may make this function unavailable.


\paragraph{Example}
\index{example of whos()}
\index{whos()!example}
\begin{verbatim}
> BigMatrix = rand(200,300);
> d = "a rather small string";
> whos();
        Name            Class   Type    Size            NBytes
        BigMatrix       num     real    200     300     480000
        d               string  string  1       1       21
        eps             num     real    1       1       16
        pi              num     real    1       1       16
Total MBytes = 0.566157
> L.a = "string for testing";
> L.B = "another string";
> L.c = rand(7,254);
> L.d = 3+4j;
> whos(L);
        Name            Class   Type    Size            NBytes
        B               string  string  1       1       14
        a               string  string  1       1       18
        c               num     real    7       254     14224
        d               num     complex 1       1       16
Total MBytes = 0.014272
\end{verbatim}

See also: Page \pageref{fn:what} \verb+what()+,
Page \pageref{fn:who} \verb+who()+.

\newpage



